#!exifinfotemplateversion=2.30
#
#!formatname=DDF demonstration
#
#!comment1=A demonstration of a DDF (text with styles) file,
#!comment2=which can be loaded into Impression and EasiWriter
#!comment3=Author: Chris Terran * Version: 1.00 (18 Oct 2002)
#
# Please note: this is a very simple demonstration to show
# the principle. You'd want much more information in a 'real'
# DDF format file.
#
# DDF (Document Description Format) files are simple text files
# with style information embedded in them. They are readable
# by the Impression group of DTP programs (Impression, Style
# etc), the EasiWriter family (EasiWriter, TechWriter, Writer)
# and Ovation.
#
# DDF files use braces to define and set styles ... and EXIFinfo
# uses them for tags. That would make this file nigh-on unreadable,
# but version 2.30 template files can change the tag delimiters.
# We change them to be square brackets:
#!TagDelimiters=[]
# Unfortunately, StrongEd's tag colouring no longer works. But it's
# preferable to the alternative.
#!outputleafname=DDFdemo
# Unfortunately there doesn't appear to be a filetype for DDF files,
# so we can't automatically get them to appear in Impression or
# EasiWriter. You'll have to drop the file on to the appropriate
# application on the iconbar. Of course, you could always change
# the run-action for text files....
#!outputfiletype=text
#!outputmode=single
#!UnknownString=?
#!EXIFDateFormat=%z12:%mi:%se%pm %w3 %zdy %m3 %ce%yr
# user9 is used to keep track of the total byte count
#!user9=0
#
#!section=header
# In the header we define any styles we want to use. This is
# a simple header style, used for the directory name:
{define style "DirName";
 font Homerton.Medium;
 fontsize 18pt;
 linespacep 120%;
 spacebelow 4pt;
 rulecolour rgb=(0,0,0);
 justify centre;
 ruleaboveoffset 0pt;
 rulecontrol 4;
 rulewidth 1pt;
 ruleoffset -10pt;
 autoparagraph;
 menuitem on}{"DirName" on}
Directory: [!path]{"DirName" off}
#!section=image
# Now we generate the information for each image. Remember that [] now
# encloses tags, and anything in {} brackets is a DDF command.
File: {fontcolour rgb=(0,0.271,0.6)}[!leafname]{fontcolour}{tab}[DateTimeOriginal]{tab}[ExifImageWidth]x[ExifImageHeight] pixels, [!filesizek]{fontsize 8pt}{bold on}
[Main.Model]{bold}{tab}f[FNumber]{tab}ISO[ISOSpeedRatings]{tab}Flash [Flash]{fontsize}
[!user9=[!user9]+[!filesize]]
#!section=footer
Total: [!eval FNplurals([!ImageNumber],"image")] containing [!eval FNcommas("[!User9]")] bytes
